package connect2congress.client.properties;

import com.google.gwt.core.client.JavaScriptObject;


/**
 * Created by IntelliJ IDEA.
 * User: peter
 * Date: Mar 14, 2010
 * Time: 1:29:46 PM
 * To change this template use File | Settings | File Templates.
 */
public class Wnom extends JavaScriptObject {

    protected Wnom() {}

    public final native String score() /*-{ return this.s; }-*/;
    public final native String id() /*-{ return this.id; }-*/;

    public final double getScore() {
        return Double.parseDouble(score());
    }
    public final double getMagnitude() {
        return 0;  //To change body of implemented methods use File | Settings | File Templates.
    }

    public final String getName() {
        return null;  //To change body of implemented methods use File | Settings | File Templates.
    }

    public final String getParty() {
        return null;  //To change body of implemented methods use File | Settings | File Templates.
    }

    public final int getID() {
        return Integer.parseInt(id());  //To change body of implemented methods use File | Settings | File Templates.
    }

    public final long getDate() {
        return 0;  //To change body of implemented methods use File | Settings | File Templates.
    }
}
